package com.hins.demo.api;

import com.hins.component.dto.MultiResponse;
import com.hins.component.dto.Response;
import com.hins.demo.dto.CheckoutCmd;
import com.hins.demo.dto.OrderListQry;
import com.hins.demo.dto.data.OrderDTO;

import javax.validation.Valid;
import java.util.List;

/**
 * Description: 结账
 *
 * @author wenjiaqi
 * @date 2021/6/18 16:00
 */
public interface CheckoutServiceI {
    Response checkout(@Valid CheckoutCmd cmd);

    MultiResponse<OrderDTO> listOrderBy(OrderListQry qry);
}
